import 'package:bxultimate/domain/application/organization/OrganizationAnnouncementAnalysisDto.dart';
import 'package:bxultimate/domain/application/organization/OrganizationAnnouncementAnalysisUserDto.dart';
import 'package:bxultimate/domain/application/organization/OrganizationAnnouncementTaskDto.dart';
import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:tdesign_flutter/tdesign_flutter.dart';

class OrganizationStatisticsTaskAnalysisState {
  OrganizationStatisticsTaskAnalysisState() {
    ///Initialize variables
  }

  var _tabs = <TDTab>[
    TDTab(
      text: '已读',
      textMargin: EdgeInsets.only(right: 20, top: 2, bottom: 2),
      badge: TDBadge(
        TDBadgeType.message,
        count: "0",
      ),
    ),
    TDTab(
      text: '未读',
      textMargin: EdgeInsets.only(right: 20, top: 2, bottom: 2),
      badge: TDBadge(
        TDBadgeType.message,
        count: "0",
      ),
    ),
    TDTab(
      text: '已完成',
      textMargin: EdgeInsets.only(right: 20, top: 2, bottom: 2),
      badge: TDBadge(
        TDBadgeType.message,
        count: "0",
      ),
    ),
    TDTab(
      text: '未完成',
      textMargin: EdgeInsets.only(right: 20, top: 2, bottom: 2),
      badge: TDBadge(
        TDBadgeType.message,
        count: "0",
      ),
    ),
  ].obs;
  List<TDTab> get tabs => _tabs.value;
  set tabs(List<TDTab> val) => _tabs.value = val;

  var _analysis =OrganizationAnnouncementAnalysisDto().obs;
  OrganizationAnnouncementAnalysisDto get analysis => _analysis.value;
  set analysis(OrganizationAnnouncementAnalysisDto val) => _analysis.value = val;

  var _taskInfo = OrganizationAnnouncementTaskDto().obs;
  OrganizationAnnouncementTaskDto get taskInfo => _taskInfo.value;
  set taskInfo(OrganizationAnnouncementTaskDto val) => _taskInfo.value = val;


  var _readUserList = <OrganizationAnnouncementAnalysisUserDto>[].obs;
  List<OrganizationAnnouncementAnalysisUserDto> get readUserList => _readUserList.value;
  set readUserList(List<OrganizationAnnouncementAnalysisUserDto> val) => _readUserList.value = val;

  var _unreadUserList = <OrganizationAnnouncementAnalysisUserDto>[].obs;
  List<OrganizationAnnouncementAnalysisUserDto> get unreadUserList => _unreadUserList.value;
  set unreadUserList(List<OrganizationAnnouncementAnalysisUserDto> val) => _unreadUserList.value = val;

  var _finishUserList = <OrganizationAnnouncementAnalysisUserDto>[].obs;
  List<OrganizationAnnouncementAnalysisUserDto> get finishUserList => _finishUserList.value;
  set finishUserList(List<OrganizationAnnouncementAnalysisUserDto> val) => _finishUserList.value = val;

  var _unFinishUserList = <OrganizationAnnouncementAnalysisUserDto>[].obs;
  List<OrganizationAnnouncementAnalysisUserDto> get unFinishUserList => _unFinishUserList.value;
  set unFinishUserList(List<OrganizationAnnouncementAnalysisUserDto> val) => _unFinishUserList.value = val;
}
